package com.item.service;

import com.item.dao.WelcomePageMapper;
import com.item.dao.model.WelcomePage;
import com.item.dao.model.WelcomePageExample;
import java.util.List;
import org.apache.log4j.Logger;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class WelcomePageService {
    @Autowired
    private WelcomePageMapper welcomePageMapper;

    private static final Logger logger = Logger.getLogger(WelcomePageService.class);

    public int countByExample(WelcomePageExample example) {
        return this.welcomePageMapper.countByExample(example);
    }

    public WelcomePage selectByPrimaryKey(String id) {
        return this.welcomePageMapper.selectByPrimaryKey(id);
    }

    public List<WelcomePage> selectByExample(WelcomePageExample example) {
        return this.welcomePageMapper.selectByExample(example);
    }

    public int deleteByPrimaryKey(String id) {
        return this.welcomePageMapper.deleteByPrimaryKey(id);
    }

    public int updateByPrimaryKeySelective(WelcomePage record) {
        return this.welcomePageMapper.updateByPrimaryKeySelective(record);
    }

    public int updateByPrimaryKey(WelcomePage record) {
        return this.welcomePageMapper.updateByPrimaryKey(record);
    }

    public int deleteByExample(WelcomePageExample example) {
        return this.welcomePageMapper.deleteByExample(example);
    }

    public int updateByExampleSelective(WelcomePage record, WelcomePageExample example) {
        return this.welcomePageMapper.updateByExampleSelective(record, example);
    }

    public int updateByExample(WelcomePage record, WelcomePageExample example) {
        return this.welcomePageMapper.updateByExample(record, example);
    }

    public int insert(WelcomePage record) {
        return this.welcomePageMapper.insert(record);
    }

    public int insertSelective(WelcomePage record) {
        return this.welcomePageMapper.insertSelective(record);
    }
}